package com.jzhao.gper.spring.v2.webmvc.servlet;

import java.lang.reflect.Method;
import java.util.regex.Pattern;

/**
 * @author jzhao
 * @date 2020/4/9 23:31
 */
public class JZHandlerMapping {
    private Pattern pattern;
    private Object instance;
    private Method method;
    public JZHandlerMapping(Pattern pattern, Object instance, Method method) {
        this.pattern = pattern;
        this.instance = instance;
        this.method = method;
    }

    public Pattern getPattern() {
        return pattern;
    }

    public void setPattern(Pattern pattern) {
        this.pattern = pattern;
    }

    public Object getInstance() {
        return instance;
    }

    public void setInstance(Object instance) {
        this.instance = instance;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }
}
